<%- locals = {:f => f} %>

<%= render "spree/shared/error_messages", :target => f.object %>

<div data-hook="admin_contact_topic_form">

  <%= f.field_container :name do %>
    <%= f.label :name, t("name") %> <span class="required">*</span><br />
    <%= f.text_field :name, :class => 'fullwidth title'  %>  
    <%= f.error_message_on :name %>
  <% end %>

  <%= f.field_container :emails do %>
    <%= f.label :emails, t("emails") %> (<%= t('comma_delimited') %>) <span class="required">*</span><br />
    <%= f.text_field :emails, :class => 'fullwidth title'  %>
    <%= f.error_message_on :emails %>
  <% end %>

</div>
